package com.bcu.calculus.service;

import com.bcu.calculus.entity.Message;
import com.bcu.calculus.entity.Send;
import com.bcu.calculus.entity.UserInfo;
import com.bcu.calculus.entity.UserInfoBranch;

import java.util.List;

public interface UserInfoService {

    Message<?> AddUserInfo(UserInfo userInfo);

    Message<?> deleteUserInfo(String userId);

    Message<?> updateUserInfoByPrimaryKeySelective(UserInfo userInfo);

    Message<UserInfo> selectUserInfoByUserId(String userId);

    Message<List<UserInfo>> findAllUserInfo();

    Message<List<UserInfo>> slectByUserName(String userName);

    Message<List<UserInfo>> selectAvgScoreByUserBranch(Integer userBranch);

    Message<List<UserInfo>> selectPRByUserBranch(Integer userBranch);

    Message<List<UserInfo>> selectAllBranchPR();

    Message<List<UserInfo>> selectALLBranchAvgScore();

    Message<List<UserInfo>> selectAllPR();

    Message<List<UserInfo>> selectAllAV();

    List<UserInfoBranch> showSend(String flistId, String slistId, String tlsitId, String sendSemseterId);

    List<UserInfoBranch> showSendLikeName(String flistId, String slistId, String tlistId, String sendSemseterId, String likeName);

    Message<?> getAllUserScoreThisSemId(Integer semId);

    Message<?> getOneUserScoreThisSemId(Integer semId, String userId);
}
